package com.ztools.common.util.common.enumUnit;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: seeTools
 * @Date: 2023/6/9  21:34
 * @Version 1.0
 * mq对应的key
 */
@Getter
@AllArgsConstructor
public enum RoutingKeyEnum {

    /**
     * 订单KEY
     */
    ORDER_KEY("order.", "订单KEY"),

    /**
     * 开卡KEY
     */
    OPEN_CARD_KEY("card.open.", "开卡KEY"),

    /**
     * 死信KEY
     */
    DLX_KEY("dlx.", "死信KEY");


    /**
     * key
     */
    private final String routingKey;

    /**
     * 名称
     */
    private final String name;
}
